﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class LoaiTrongTaiBus
    {
        public IEnumerable<LOAITRONGTAI> LoaiTrongTai()
        {
            LoaiTrongTaiDao ttdao = new LoaiTrongTaiDao();
            return ttdao.LoaiTrongTai();
        }
        public int LayMaLoaiTrongTai(string TrongTai)
        {
            LoaiTrongTaiDao ttdao = new LoaiTrongTaiDao();
            return ttdao.LayMaLoaiTrongTai(TrongTai);
        }
    }
}
